home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
hardware
/
blit.g
< prev
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
77 lines
uint
HSIZEBITS = 6,
VSIZEBITS = 16 - HSIZEBITS,
HSIZEMASK = 0x3f,
VSIZEMASK = 0x3ff,
MAXBYTESPERROW = 128,
ABC = 0x80,
ABNC = 0x40,
ANBC = 0x20,
ANBNC = 0x10,
NABC = 0x08,
NABNC = 0x04,
NANBC = 0x02,
NANBNC = 0x01,
A_OR_B = ABC | ANBC | NABC | ABNC | ANBNC | NABNC,
A_OR_C = ABC | NABC | ABNC | ANBC | NANBC | ANBNC,
A_XOR_C = NABC | ABNC | NANBC | ANBNC,
A_TO_D = ABC | ANBC | ABNC | ANBNC,
BC0B_DEST = 8,
BC0B_SRCC = 9,
BC0B_SRCB = 10,
BC0B_SRCA = 11,
BC0F_DEST = 0x100,
BC0F_SRCC = 0x200,
BC0F_SRCB = 0x400,
BC0F_SRCA = 0x800,
BC1F_DESC = 2,
DEST = 0x100,
SRCC = 0x200,
SRCB = 0x400,
SRCA = 0x800,
ASHIFTSHIFT = 12,
BSHIFTSHIFT = 12,
LINEMODE = 0x1,
FILL_OR = 0x8,
FILL_XOR = 0x10,
FILL_CARRYIN= 0x4,
ONEDOT = 0x2,
OVFLAG = 0x20,
SIGNFLAG = 0x40,
BLITREVERSE = 0x2,
SUD = 0x10,
SUL = 0x8,
AUL = 0x4,
OCTANT8 = 24,
OCTANT7 = 4,
OCTANT6 = 12,
OCTANT5 = 28,
OCTANT4 = 20,
OCTANT3 = 8,
OCTANT2 = 0,
OCTANT1 = 16;
type
bltnode_t = struct {
*bltnode_t bn_n;
proc()ulong bn_function;
ushort bn_stat;
uint bn_blitsize;
uint bn_beamsync;
proc()ulong bn_cleanup;
};
ushort
CLEANUP = 0x40,
CLEANME = CLEANUP;